package com.ruoyi.common.core.domain.entity;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 机构课程对象 zx_course
 * 
 * @author ruoyi
 * @date 2021-05-08
 */
public class Course extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 课程id */
    private Long cId;

    /** 课程名称 */
    @Excel(name = "课程名称")
    private String cName;

    /** 课程分类id */
    @Excel(name = "课程分类id")
    private Integer cTypeid;

    /** 课程可报名人数 */
    @Excel(name = "课程可报名人数")
    private Integer cAvailablenum;

    /** 课程已报名人数 */
    @Excel(name = "课程已报名人数")
    private Integer cEnrollnum;

    /** 课程信息 */
    @Excel(name = "课程信息")
    private String cRemark;

    /** 所在年级 */
    @Excel(name = "所在年级id")
    private Long gId;
    /** 年级名称 */
    @Excel(name = "年级名称")
    private String gName;
    /** 所在机构 */
    @Excel(name = "所在机构id")
    private Long itId;
    /** 机构名称 */
    @Excel(name = "机构名称")
    private String itName;
    /** 所属分类 */
    @Excel(name = "所属分类id")
    private Long tId;
    /** 分类名称 */
    @Excel(name = "分类名称")
    private String tName;

    public Long gettId() {
        return tId;
    }

    public void settId(Long tId) {
        this.tId = tId;
    }

    public String gettName() {
        return tName;
    }

    public void settName(String tName) {
        this.tName = tName;
    }

    public Long getgId() {
        return gId;
    }

    public void setgId(Long gId) {
        this.gId = gId;
    }

    public String getgName() {
        return gName;
    }

    public void setgName(String gName) {
        this.gName = gName;
    }

    public Long getItId() {
        return itId;
    }

    public void setItId(Long itId) {
        this.itId = itId;
    }

    public String getItName() {
        return itName;
    }

    public void setItName(String itName) {
        this.itName = itName;
    }

    public void setcId(Long cId)
    {
        this.cId = cId;
    }

    public Long getcId()
    {
        return cId;
    }
    public void setcName(String cName) 
    {
        this.cName = cName;
    }

    public String getcName() 
    {
        return cName;
    }
    public void setcTypeid(Integer cTypeid) 
    {
        this.cTypeid = cTypeid;
    }

    public Integer getcTypeid() 
    {
        return cTypeid;
    }
    public void setcAvailablenum(Integer cAvailablenum) 
    {
        this.cAvailablenum = cAvailablenum;
    }

    public Integer getcAvailablenum() 
    {
        return cAvailablenum;
    }
    public void setcEnrollnum(Integer cEnrollnum) 
    {
        this.cEnrollnum = cEnrollnum;
    }

    public Integer getcEnrollnum() 
    {
        return cEnrollnum;
    }
    public void setcRemark(String cRemark) 
    {
        this.cRemark = cRemark;
    }

    public String getcRemark() 
    {
        return cRemark;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("cId", getcId())
            .append("cName", getcName())
            .append("cTypeid", getcTypeid())
            .append("cAvailablenum", getcAvailablenum())
            .append("cEnrollnum", getcEnrollnum())
            .append("cRemark", getcRemark())
            .toString();
    }
}
